import React from 'react';
import ReactDOM from 'react-dom';
import { render } from 'react-dom'
import { Router, Route, hashHistory ,} from 'react-router'
import Regpage from './module/Regpage.js'
import Logpage from './module/Logpage.js'
import Content from './module/emailcontent.js'
import Inbox from './module/inbox.js'
import Userlist from './module/userlist.js'

ReactDOM.render(
<Router>
    <Route path="/" component={Logpage}></Route>
    <Route path="/reg" component={Regpage}></Route>
    <Route path="/content" component={Content}></Route>
    <Route path="/inbox" component={Inbox}></Route>
    <Route path="/userlist" component={Userlist}></Route>
</Router>,document.getElementById('root')
)





